home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
pctchnqs
/
1992
/
number2
/
toshfunc.src
< prev
next >
Wrap
Text File
|
1992-03-31
|
943b
|
42 lines
{ Low-level control functions of Toshiba T1000SE
(probably same on most other Toshiba laptops) }
{ Don't run this as a program; extract the parts you need. }
BEGIN
{ Select lower CPU speed }
port[$0e3] := $5a;
port[$0e4] := port[$0e4] OR $80;
{ Select higher CPU speed }
port[$0e3] := $5a;
port[$0e4] := port[$0e4] AND NOT $80;
{ Disable speaker }
port[$0e5] := $5a;
port[$0e6] := port[$0e6] OR $20;
{ Enable speaker }
port[$0e5] := $5a;
port[$0e6] := port[$0e6] AND NOT $20;
{ Disable battery-low beeper }
port[$0e5] := $5a;
port[$0e6] := port[$0e6] OR $10;
{ Enable battery-low beeper }
port[$0e5] := $5a;
port[$0e6] := port[$0e6] AND NOT $10;
{ Modem power on }
port[$0e5] := $5a;
port[$0e6] := port[$0e6] OR $4;
{ Modem power off }
{ (Only Toshiba, not Megahertz modems) }
port[$0e5] := $5a;
port[$0e6] := port[$0e6] AND NOT $4;
END.